package com.loto.insurance.mis.web.authority;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.loto.insurance.mis.web.enumeration.AuthorityRoleEnum;
import com.loto.insurance.mis.web.enumeration.ResultTypeEnum;
import com.loto.insurance.mis.web.enumeration.MenuEnum;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface INSAuthority {

  AuthorityRoleEnum authorityRole() default AuthorityRoleEnum.NOT_SPECIFIED;

  ResultTypeEnum resultType() default ResultTypeEnum.page;
  
  MenuEnum authorityMenu() default MenuEnum.NOT_SPECIFIED;
}
